home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 May / Macworld (1998-05).dmg / Games World / Shareware Games / Arcade / Supreme Commander / Supreme Commander.mac / 00121.ls < prev    next >
Encoding:
Text File  |  1996-01-30  |  776 b   |  29 lines

  1. on mouseDown
  2.   puppetSound("ZHWOW")
  3.   set the foreColor of sprite 47 to 215
  4.   updateStage()
  5.   wait(30)
  6.   puppetSound(0)
  7.   when timeOut then nothing
  8.   if (the castNum of sprite 1 = 159) or (the stageColor = 0) then
  9.     set the visible of sprite 43 to 0
  10.     set the visible of sprite 44 to 0
  11.     set the visible of sprite 45 to 0
  12.     set the visible of sprite 46 to 0
  13.     set the visible of sprite 47 to 0
  14.     set the visible of sprite 48 to 0
  15.     updateStage()
  16.     go("waiting")
  17.     initialize()
  18.   else
  19.     set the visible of sprite 43 to 0
  20.     set the visible of sprite 44 to 0
  21.     set the visible of sprite 45 to 0
  22.     set the visible of sprite 46 to 0
  23.     set the visible of sprite 47 to 0
  24.     set the visible of sprite 48 to 0
  25.     updateStage()
  26.     continue()
  27.   end if
  28. end
  29.